package top.itpath.admin.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Getter;
import lombok.Setter;
import top.itpath.common.BaseModel;

import javax.persistence.Entity;

/**
 * @author zhaomengru
 * create by  2023/10/10 - 14:32
 * 用户
 */
@Getter
@Setter
@Entity
public class SysUser extends BaseModel {

    private String username;

    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String password;

    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String salt;
}
